package com.myproject.mall.user.client;

import com.myproject.mall.domain.vo.GoodsVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "scmall-goods-service")
public interface GoodsServiceClient {
    @GetMapping("/api/goods/get/goodsList")
    List<GoodsVO> getGoodsList(@RequestParam("ids") List<Long> ids);
}
